﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<title>Button Test</title>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <script type="text/javascript" src="../base/javascript/ext-core-min.js"></script>
	<script type="text/javascript" src="javascript/button.js"></script>
	
	<link rel="stylesheet" type="text/css" href="../base/css/core.css" />
	<link rel="stylesheet" type="text/css" href="css/button.css" />
</head>
<body>
	<br/>
	<br/>
	<br/>
	<button id="test2">extjs style button extjs style button button button button</button>
	
	<button id="test22">extjs2 style button extjs2 style button button button button</button>
	<br/>
	<br/>
	<br/>
	<button id="task">task style button task style button button button button</button>
	<br/>
	<br/>
	<br/>
	<button id="test">testtesttesttesttesttesttesttesttesttesttest</button>
	
	<script type="text/javascript">
		Ext.onReady(function(){
			
			
			new Ext.ux.ButtonLite({
				id:'test2'
			});
			
			new Ext.ux.ButtonLite({
				id:'test22',
				//extjs2 
				version:'2'
			});
			
			var t=new Ext.ux.ButtonLite({
				id:'task',
				version:'3'
			});
			
			t.el.addClassOnClick("x-btn-active3");
			
		});
	</script>

</body>
</html>